﻿using System;
using System.Collections.Generic;
using System.Text;
using YL.Core.Entity;

namespace YL.Core.Dto
{
    public class Sys_deptDto
    {

        public Sys_deptDto()
        {
            IsManage = 1;
        }

        public string DeptId { get; set; }

        /// <summary>
        /// Desc:部门编号
        /// Default:
        /// Nullable:True
        /// </summary>
        public string DeptNo { get; set; }

        /// <summary>
        /// Desc:部门名称
        /// Default:
        /// Nullable:True
        /// </summary>
        public string DeptName { get; set; }

        /// <summary>
        /// Desc:1未删除   0删除
        /// Default:
        /// Nullable:True
        /// </summary>
        public int? IsDel { get; set; } = 1;

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:False
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        public string CreateBy { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? CreateDate { get; set; } = DateTime.Now;

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        public string ModifiedBy { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>
        public DateTime? ModifiedDate { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>
        public string ParentId { get; set; }

        /// <summary>
        /// 是否有分配下级权限
        /// 1:允许    2:禁止
        /// </summary>
        public int IsManage { get; set; }

        /// <summary>
        /// 层级
        /// </summary>
        public int CurrLevel { get; set; }

        /// <summary>
        /// 是否有子数据
        /// </summary>
        public int HaveClient { get; set; }

        public string FatherName { get; set; }

        public string CName { get; set; }

        public string UName { get; set; }
    }
}
